package com.bpf.base.util;

import java.io.Serializable;
import java.util.List;

public class PageModel implements Serializable {
    private static final long serialVersionUID = 1L;

    public List<?> rows;

    public Integer total;

    public PageModel(Integer total, List<?> rows) {
        super();
        this.total = total;
        this.rows = rows;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setData(List<?> rows) {
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

}
